package milkproduction.service;

import java.text.SimpleDateFormat;
import java.util.Date;

import javax.servlet.jsp.JspWriter;

import milkproduction.dao.OrderDAO;
import milkproduction.to.OrderTO;

public class OrderService {
	private OrderDAO dao;
	public OrderService(OrderDAO dao){
		this.dao=dao;
	}
	
	
	public OrderTO getOrder() throws Exception{
		return dao.selectOrder();
	}

}
